<?php 
			include "../../lib/connection.php";
			if(isset($_GET["id"])){
			$id = $_GET["id"];
			$sql= ("DELETE FROM users WHERE user_id=?");
			$stmt=sqlsrv_query($con,$sql,array($id));
			sqlsrv_query($con,$sql,array($id));
			sqlsrv_free_stmt($stmt);
			sqlsrv_close($con);			
		}		
		header("location:../index.php");
?>